package com.xrh.xdemo.api.constants;

/**
 * @function 登录常量
 * @author 肖荣辉
 * @date 2023年12月8日
*/
public class LoginConstants {
	
	//登录用户主题
	public static final String JWT_LOGIN_USER_SUBJECT  = "SYS_USER_INFO";
	
	//登录用户key
	public static final String JWT_LOGIN_USER_KEY  = "SYS_USER_KEY";
	
	//存放用户ID的key
	public static final String JWT_LOGIN_USER_ID_KEY  = "SYS_USER_ID_KEY";
	
	//token key
	public static final String JWT_LOGIN_TOKEN_KEY  = "token";

	//登录用户过期时间(秒)
	public static final int JWT_LOGIN_USER_EXPIRE_SECOND  = 8 * 60 * 60;
	
	public static final Long JWT_LOGIN_SYS_ACCOUNT_ID = -1L;
	
    //登录验证码次数
    public final static String LOGIN_ERROR_VALID_CODE_TIMES = "LoginErrorValidCodeTimes";
    
    //登录验证码
    public final static String LOGIN_ERROR_VALID_CODE = "LoginErrorValidCode";
	
}
